package com.whfc.mach.dto.warn;

import lombok.Data;

import java.io.Serializable;

/**
 * @author qzexing
 * @version 1.0
 * @date 2020-11-09 16:06
 */
@Data
public class AppMachWarnCountDTO implements Serializable {

    /**
     * 出区域报警数
     */
    private Integer fenceWarnNum;

    /**
     * 怠机报警数
     */
    private Integer idleWarnNum;

    /**
     * 工作报警数
     */
    private Integer workWarnNum;

    /**
     * 停机报警数
     */
    private Integer stopWarnNum;

    /**
     * 超速报警数
     */
    private Integer speedWarnNum;

    /**
     * 发动机报警数
     */
    private Integer engineWarnNum;

    /**
     * 总报警数
     */
    private Integer warnNum;
    /**
     * 已处理报警数
     */
    private Integer handleNum;
    /**
     * 未处理报警数
     */
    private Integer unHandleNum;

    /**
     * 硬件拆卸报警
     */
    private Integer deviceWarnNum;

    /**
     * 偷漏油报警
     */
    private Integer oilPosWarnNum;

    /**
     * 倾斜报警次数
     */
    private Integer rotationWarnNum;

    /**
     * 牵引力报警次数
     */
    private Integer forceWarnNum;


    public void init() {
        this.fenceWarnNum = 0;
        this.idleWarnNum = 0;
        this.workWarnNum = 0;
        this.stopWarnNum = 0;
        this.speedWarnNum = 0;
        this.engineWarnNum = 0;
        this.warnNum = 0;
        this.deviceWarnNum = 0;
        this.oilPosWarnNum = 0;
        this.rotationWarnNum = 0;
        this.fenceWarnNum = 0;
    }

}
